package com.dms.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dms.common.annotation.Excel;
import com.dms.common.core.domain.BaseEntity;

/**
 * 设备对象 sys_plant
 * 
 * @author xlong_zhu
 * @date 2021-03-28
 */
public class SysPlant extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备编号 */
    private Long id;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String plantName;

    /** 所属区域编号 */
    @Excel(name = "所属区域编号")
    private Long areaId;

    /** 设备信息 */
    @Excel(name = "设备信息")
    private String plantInfo;

    /** 设备状态，1. 使用 2.故障 3.停用 */
    @Excel(name = "设备状态，1. 使用 2.故障 3.停用")
    private String plantStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPlantName(String plantName) 
    {
        this.plantName = plantName;
    }

    public String getPlantName() 
    {
        return plantName;
    }
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }
    public void setPlantInfo(String plantInfo) 
    {
        this.plantInfo = plantInfo;
    }

    public String getPlantInfo() 
    {
        return plantInfo;
    }
    public void setPlantStatus(String plantStatus) 
    {
        this.plantStatus = plantStatus;
    }

    public String getPlantStatus() 
    {
        return plantStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("plantName", getPlantName())
            .append("areaId", getAreaId())
            .append("plantInfo", getPlantInfo())
            .append("plantStatus", getPlantStatus())
            .toString();
    }
}
